import { IsString, IsInt, IsOptional, IsDateString, ValidateNested, IsArray, MaxLength } from 'class-validator';

export class UpdateInfoDto {

  @MaxLength(20)
  @IsString()
  @IsOptional()
  name: string;

 
  @IsInt()
  @IsOptional()
  gender: number;

  @IsString()
  @IsOptional()
  avatar: string;

  @IsString()
  @IsOptional()
  birth: string;

  @IsArray()
  @IsOptional()
  tags:string[]

  @MaxLength(200)
  @IsString()
  @IsOptional()
  sign: string;
  
}
